cmake_minimum_required(VERSION 3.15)
project(spdlog)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_PREFIX_PATH ~/install)

find_package(spdlog CONFIG REQUIRED)
add_definitions(-DSPDLOG_FMT_EXTERNAL)

add_subdirectory(sample_1)